<template>
  <div
    :class="['animation-button', {'active':active===true}]"
    @click="$emit('click')"
  >
    {{text||'动画按钮'}}
    <div class="other-item"/>
  </div>
</template>

<script>
export default {
  props: {
    active: [Boolean, String],
    text: String,
  },
};
</script>

<style lang="less" src="./index.less" scoped></style>
